Optimal Protocols For Studying & Learning